# def is_prime(number):
#     for i in range(2, number):
#         if number % i == 0:
#             return False
#         return True


def is_leap(year):
    if year % 4 == 0:
        if year % 100 == 0:
            if year % 400 == 0:
                return True
            else:
                return False
        else:
            return True

    else:
        return False
